package com.example.clientdemo.pojo;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.Data;

import java.util.List;

@Data
public class Region {

    @XStreamAsAttribute
    @XStreamAlias("xmlns")
    private String xmlns;

    @XStreamImplicit(itemFieldName ="City")
    private List<City> cityList;
}
